Total Complexity | 22 |
Dependencies | 15 |
Dependents | 4 |
Total lines | 227 |
Lines of code | 104 |
Logical lines of code | 54 |
Comment lines | 89 |
Methods | 11 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_payment() | 50 | 5 | 28 | |
get_payment_to_validate() | 55 | 3 | 20 | |
validate_payment_on_customer_return() | 59 | 3 | 14 | |
validate_payment_from_ipn() | 65 | 2 | 9 | |
build_order() | 68 | 2 | 7 | |
update_order_post_meta_if_deferred_trigger() | 73 | 2 | 5 | |
__construct() | 76 | 1 | 4 | |
handle_ipn_callback() | 77 | 1 | 4 | |
handle_customer_return() | 76 | 1 | 4 | |
redirect_to_cart_with_error() | 71 | 1 | 6 | |
get_description() | 79 | 1 | 3 |